﻿iframe
{
    border:none;
}
body 
{
	border-top: 0px;
}
#backgroundPopup {
    z-index:1;
    position: fixed;
    display:none;
    height:100%;
    width:100%;
    background:#000000;
    top:0px;
    left:0px;
}
#toPopup {
    /*background: none repeat scroll 0 0 #FFFFFF;*/
    background: rgba(0,0,0,0.25);
    /*border: 10px solid #ccc;
    border-radius: 3px 3px 3px 3px;*/
    color: #333333;
    display: none;
    font-size: 14px;
    position: fixed;
    width: 800px;
    z-index: 2;
    margin: 0 auto;
}
.tinySize
{
    width: 580px !important;
    height: 410px; 
}
.mediumSize 
{
    width: 768px !important;
    height: 570px; 
}
.largeSize
{
    width: 1024px !important;
    height: 610px;
}
/*
div.loader {
    background: url("../../Images/Template/loading.gif") no-repeat scroll 0 0 transparent;
    height: 32px;
    width: 32px;
    display: none;
    z-index: 9999;
    top: 40%;
    left: 50%;
    position: absolute;
    margin-left: -10px;
    display: none;
    z-index: 9999;
	position: absolute;
	width: 30px;
	height: 30px;
    top: 40%;
    left: 50%;
	margin: 0 0 0 -15px;
	border: 8px solid #fff;
	border-right-color: transparent;
	border-left-color: transparent;
	border-radius: 50%;
	box-shadow: 0 0 25px 2px #eee;
	-webkit-animation: spin 1s linear infinite;
	-moz-animation: spin 1s linear infinite;
	-ms-animation: spin 1s linear infinite;
	-o-animation: spin 1s linear infinite;
	animation: spin 1s linear infinite;
}
*/

div.close {
    background: url("../../Images/Template/closebox.png") no-repeat scroll 0 0 transparent;
    cursor: pointer;
    height: 30px;
    position: absolute;
    right: 0px;
    top: 0px;
    width: 30px;
}
span.ecs_tooltip {
    background: none repeat scroll 0 0 #000000;
    border-radius: 2px 2px 2px 2px;
    color: #FFFFFF;
    display: none;
    font-size: 11px;
    height: 16px;
    opacity: 0.7;
    padding: 4px 3px 2px 5px;
    position: absolute;
    right: -62px;
    text-align: center;
    top: -51px;
    width: 93px;
}
span.arrow {
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 7px solid #000000;
    display: block;
    height: 1px;
    left: 40px;
    position: relative;
    top: 3px;
    width: 1px;
}
div#popup_content {
    margin: 4px 7px;
    overflow: hidden;
    /* remove this comment if you want scroll bar
    overflow-y:scroll;
    height:200px
    */
}

.image_content 
{
    width: 780px;
    height: 500px; 
	margin: 0px;
	padding: 0px;
	text-align: center;
	vertical-align: middle;
    display: table-cell;
	line-height: 500px;
	float: left;
}

.image_content img
{
	max-width: 100%;
	/*overflow: hidden;*/
	max-height: 97%;
	line-height: 500px;
	vertical-align: middle;
}

.nav 
{
	background: rgba(0,0,0,0.65);
	clear: both;
	padding: 5px 0px;
	font-size: 11px;
	width: 100%;
}

.image_thumnail 
{
	background: rgba(0,0,0, 0.25);
	_filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#3F000000,endColorstr=#3F000000);
	overflow: hidden;
	zoom: 1;
	position: relative;
	height: 96px;
	padding: 1px;
}

.actionlink 
{
	width: 100px;
	height: 500px;
	line-height: 640px;
	vertical-align: middle;
	text-align: center;
	display: table-cell;
	float: left;
	margin-right: 10px;
	background: 
}

.actionlink img
{
	width: 100px;
	height: 100px;
}

.actionlink:last-child 
{
	margin-left: 10px;
	margin-right: 0px;
}

.image_thumnail ul#listThumnal 
{
	position: absolute;
	width: 1000000%;
	top: 0;
}

.image_thumnail ul#listThumnal li
{
	width: 76px;
	height: 76px;
	float: left;
	padding: 1px 5px;
	margin-left: 1px;
	vertical-align: middle;
	line-height: 120px;
	text-align: center;
	position: relative;
}

.image_thumnail ul#listThumnal li a.lnkImage {
	display: flex;
}

.image_thumnail ul#listThumnal li img
{
	max-width: 76px;
	max-height: 76px;
}

/* this for select animation */
.image_thumnail ul#listThumnal li .mask {
   position:absolute; /* Center the mask */
   top: 0px;
   left: 0px;
   cursor:pointer;
   /*border-radius: 50px;
   border-width: 50px;*/
   display: inline-block;
   height: 78px;
   width: 78px;
   border: 40px solid rgba(0, 0, 0, 0.7);
   box-sizing:border-box;
   opacity:1;
   visibility:visible;
   transform:scale(4);
   transition:all 0.3s ease-in-out;
}

.image_thumnail ul#listThumnal li a.lnkImage 
{
   opacity: .25;
}

.image_thumnail ul#listThumnal li a.selected
{
   opacity: 1;
}

.image_thumnail ul#listThumnal li:hover .mask,
.image_thumnail ul#listThumnal li div.selected {
   opacity: 0;
   border: 0px solid rgba(0,0,0,0.7);
   visibility: hidden;
}
/* end select animation */
	
/* this for animation */
/*
@-webkit-keyframes spin
{
	from { -webkit-transform: rotate(0deg); opacity: 0.4; }
	50%  { -webkit-transform: rotate(180deg); opacity: 1; }
	to   { -webkit-transform: rotate(360deg); opacity: 0.4; }
}

@-moz-keyframes spin
{
	from { -moz-transform: rotate(0deg); opacity: 0.4; }
	50%  { -moz-transform: rotate(180deg); opacity: 1; }
	to   { -moz-transform: rotate(360deg); opacity: 0.4; }
}

@-ms-keyframes spin
{
	from { -ms-transform: rotate(0deg); opacity: 0.4; }
	50%  { -ms-transform: rotate(180deg); opacity: 1; }
	to   { -ms-transform: rotate(360deg); opacity: 0.4; }
}

@-o-keyframes spin
{
	from { -o-transform: rotate(0deg); opacity: 0.4; }
	50%  { -o-transform: rotate(180deg); opacity: 1; }
	to   { -o-transform: rotate(360deg); opacity: 0.4; }
}

@keyframes spin
{
	from { transform: rotate(0deg); opacity: 0.2; }
	50%  { transform: rotate(180deg); opacity: 1; }
	to   { transform: rotate(360deg); opacity: 0.2; }
}
*/


/* Loading Circle */
.ball {
	background-color: rgba(0,0,0,0);
	border:5px solid rgba(0,183,229,0.9);
	opacity:.9;
	border-top:5px solid rgba(0,0,0,0);
	border-left:5px solid rgba(0,0,0,0);
	border-radius:50px;
	box-shadow: 0 0 35px #2187e7;
	width:50px;
	height:50px;
	margin:0 auto;
	-moz-animation:spin .5s infinite linear;
	-webkit-animation:spin .5s infinite linear;
}

.ball1 {
	background-color: rgba(0,0,0,0);
	border:5px solid rgba(0,183,229,0.9);
	opacity:.9;
	border-top:5px solid rgba(0,0,0,0);
	border-left:5px solid rgba(0,0,0,0);
	border-radius:50px;
	box-shadow: 0 0 15px #2187e7; 
	width:30px;
	height:30px;
	margin:0 auto;
	position:relative;
	top:-50px;
	-moz-animation:spinoff .5s infinite linear;
	-webkit-animation:spinoff .5s infinite linear;
}

@-moz-keyframes spin {
	0% { -moz-transform:rotate(0deg); }
	100% { -moz-transform:rotate(360deg); }
}
@-moz-keyframes spinoff {
	0% { -moz-transform:rotate(0deg); }
	100% { -moz-transform:rotate(-360deg); }
}

@-webkit-keyframes spin {
	0% { -webkit-transform:rotate(0deg); }
	100% { -webkit-transform:rotate(360deg); }
}

@-webkit-keyframes spinoff {
	0% { -webkit-transform:rotate(0deg); }
	100% { -webkit-transform:rotate(-360deg); }
}

/* Second Loadin Circle */

.loader {
	margin: 0 auto;
	display: none;
    z-index: 9999;
    top: 40%;
    left: 48%;
    position: fixed;
}

.circle {
    background-color: rgba(0,0,0,0);
	border: 5px solid rgba(0,183,229,0.9);
	opacity: .9;
	border-right: 5px solid rgba(0,0,0,0);
	border-left: 5px solid rgba(0,0,0,0);
	border-radius: 50px;
	box-shadow: 0 0 35px #2187e7;
	width: 50px;
	height: 50px;
	margin: 0 auto;
	-moz-animation: spinPulse 1s infinite ease-in-out;
	-webkit-animation: spinPulse 1s infinite linear;
}

.circle1 {
	background-color: rgba(0,0,0,0);
	border: 5px solid rgba(0,183,229,0.9);
	opacity: .9;
	border-left: 5px solid rgba(0,0,0,0);
	border-right: 5px solid rgba(0,0,0,0);
	border-radius: 50px;
	box-shadow: 0 0 15px #2187e7;
	width: 30px;
	height: 30px;
	margin: 0 auto;
	position: relative;
	top: -50px;
	-moz-animation: spinoffPulse 1s infinite linear;
	-webkit-animation: spinoffPulse 1s infinite linear;
}

@-moz-keyframes spinPulse {
	0% { -moz-transform:rotate(160deg); opacity:0; box-shadow:0 0 1px #2187e7;}
	50% { -moz-transform:rotate(145deg); opacity:1; }
	100% { -moz-transform:rotate(-320deg); opacity:0; }
}

@-moz-keyframes spinoffPulse {
	0% { -moz-transform:rotate(0deg); }
	100% { -moz-transform:rotate(360deg);  }
}

@-webkit-keyframes spinPulse {
	0% { -webkit-transform:rotate(160deg); opacity:0; box-shadow:0 0 1px #2187e7; }
	50% { -webkit-transform:rotate(145deg); opacity:1;}
	100% { -webkit-transform:rotate(-320deg); opacity:0; }
}

@-webkit-keyframes spinoffPulse {
	0% { -webkit-transform:rotate(0deg); }
	100% { -webkit-transform:rotate(360deg); }
}

/* end animation */